// 咨询组件
window.VueComponents.ConsultCom = {
  props: {
    list: {
      type: Array,
      default: () => [],
    },
  },

  data: () => ({}),
  template: `   <ul class="consult-list">
  <li v-for="item in list" :key="item.id">
    <a  :href="item.href" class="consult-item">
      <p>{{item.title}}</p>
      <span>{{item.type}}</span>
    </a>
  </li>
 
</ul>`,
  created() {
    // 追加样式文件
    addCssByLink("./component/Consult.css");
  },
};
